package com.chushouya.manager.dto.admin.bannerposition;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("编辑banner位置")
@EqualsAndHashCode(callSuper = true)
public class BannerPositionUpdateDTO extends BannerPositionSaveDTO {

    @ApiModelProperty(value = "positionId", required = true)
    @NotNull(message = "positionId不能为空")
    private Long positionId;

}
